<?php 

namespace view;

class pageView{

	/**
	 * getHTMLpage
	 * @param String $title
	 * @param String $body
	 * @return string HTML
	 */
	public function getHTMLpage($title, $body) {

		$HTMLCode = 
		"<!DOCTYPE html>
		<html>
		    <head>
		        <meta charset='utf-8'>
		        <title>Lab 1</title>
		        <link rel='stylesheet' href='css/main.css'>
		    </head>
	    	<body>
	    		<h1>Laborationskod jj222kc</h1>
	    		<h2>". $title ."</h2>
	    		". $body ."
		    </body>
		</html>";

		echo $HTMLCode;
	}



}